package com.xsj.mapper;


import com.xsj.pojo.Merchant;

import java.util.HashMap;
import java.util.List;

import com.xsj.pojo.MerchantType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MerchantMapper {
    List<Merchant> getMerchantInfo(@Param("typeId") Integer typeId,@Param("city") String city);

    Merchant getMerchantInfoById(Integer merchantId);

    //获取店铺不同的分类
    List<MerchantType> getMerchantType();

    //搜索商品
    List<HashMap<String,Object>> searchMerchant(String keyword);

    List<Merchant> getMerchantLocation(@Param("city") String city);
}
